package com.gump.essay.modules.ums.service.impl;

import org.springframework.stereotype.Service;

import javax.annotation.Resource;

import com.gump.essay.modules.ums.mapper.UmsRoleResourceRelationMapper;
import com.gump.essay.modules.ums.model.UmsRoleResourceRelation;
import com.gump.essay.modules.ums.service.UmsRoleResourceRelationService;

/**
 * @auther zzc
 * @date 2020/9/10 16:20
 * 概要：
 */

@Service
public class UmsRoleResourceRelationServiceImpl implements UmsRoleResourceRelationService {

    @Resource
    private UmsRoleResourceRelationMapper umsRoleResourceRelationMapper;

    @Override
    public int deleteByPrimaryKey(Long id) {
        return umsRoleResourceRelationMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(UmsRoleResourceRelation record) {
        return umsRoleResourceRelationMapper.insert(record);
    }

    @Override
    public int insertSelective(UmsRoleResourceRelation record) {
        return umsRoleResourceRelationMapper.insertSelective(record);
    }

    @Override
    public UmsRoleResourceRelation selectByPrimaryKey(Long id) {
        return umsRoleResourceRelationMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(UmsRoleResourceRelation record) {
        return umsRoleResourceRelationMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(UmsRoleResourceRelation record) {
        return umsRoleResourceRelationMapper.updateByPrimaryKey(record);
    }

}
